package com.example.flowermall.mapper;

import com.example.flowermall.entity.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xiaoman
 * @since 2023-06-15
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    List<Category> selectCategory(String categoryName);

    List<Category> selectByParentId(Integer id);
}
